/**
 * Created by qqli on 5/27/15.
 */
'use strict';

var Ctrl = angular.module('aotaApp.controllers', []);

Ctrl.run(['$rootScope', function ($rootScope) {
    $rootScope.activeLi = function () {
        $('.navbar-main li.active').removeClass('active');
        var elem = $('.' + $rootScope.path);
        movePointerTo(elem);
        activeElem(elem);
    };
}]);
